<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>名单</title>
</head>
<style>
    table {
        width: 400px;
        height: auto;
        border: 1px solid black;
        padding: 5px;
        margin: 50px 0 0 200px;
    }
    tr {
        width: 400px;
        height: 50px;
    }
    td {
        width: 94px;
        height: 48px;
        border: 1px solid black;
        margin: 0 2px;
        text-align: center;
    }
    .del {
        color: blue;
    }
</style>
<body>
    <div class="a">
        <span>姓名：</span>
        <input type="text" value="" id="name">
        <span>年龄：</span>
        <input type="text" value="" id="age">
        <button id="bt">添加</button>
        <button id="bs">搜索</button>
    </div>
    <table id="ta">
        <tr>
            <td>ID</td>
            <td>姓名</td>
            <td>年龄</td>
            <td>操作</td>
        </tr>
    </table>
</body>
<script src="name.js"></script>
</html>